home *** CD-ROM | disk | FTP | other *** search
- {$A+,B-,D+,F-,G+,I+,K-,L+,N-,P-,Q-,R-,S-,T-,V+,W+,X+,Y+}
- {$M 8192,8192}
-
- {$c preload}
-
-
- unit isounds;
-
-
- interface
-
- uses WinTypes, WinProcs;
-
-
- const cSounds = 1;
-
-
- type TSOUND = record
- achRes: string [20];
- achName: string [20];
- end;
-
- PALLSOUNDS = ^TALLSOUNDS;
- TALLSOUNDS = record
- cbSize: LongInt;
- cEntries: LongInt;
- asSounds: array [1..cSounds] of TSOUND;
- end;
-
-
-
- Procedure THSndQuerySounds (var p: PAllSounds);
-
- Function THSndPlaySound (pchApp:PChar; i:integer; fSync:boolean):integer;
-
- Function THSndRandom (pchApp:PChar; fSync:boolean):integer;
-
- Function THSndOptions (pchApp:PChar; window: hwnd):integer;
-
- Function THSndVersion :integer;
-
- implementation
-
-
- Procedure THSndQuerySounds (var p: PAllSounds);
- external 'THsounds' index 11;
-
- Function THSndPlaySound (pchApp:PChar; i:integer; fSync:boolean):integer;
- external 'THsounds' index 12;
-
- Function THSndRandom (pchApp:PChar; fSync:boolean):integer;
- external 'THsounds' index 13;
-
- Function THSndOptions (pchApp:PChar; window: hwnd):integer;
- external 'THsounds' index 14;
-
- Function THSndVersion :integer;
- external 'THsounds' index 15;
-
- end.